. Interop. Excel. dll and set the dll property value to false. Otherwise, the type "Microsoft. Office. Interop. Excel. ApplicationClass" is reported. undefined constructors cannot embed the interoperability type "Microsoft. Office
The interoperability type "Microsoft. Office. Interop. Excel. ApplicationClass" cannot be embedded ". Use the applicable interface, interop. excelSolution
Change the embedded interoperability type of Microsoft. Office. Interop. Excel. D
Operation background: Asp.net Excel operation
Problems: Add reference (COM) locally: Microsoft Office 11.0 object library, and writeProgramDebugging is normal and deployedServerThe Excel. application is not an object.
Initial Diagnosis: The Office and Excel components are not installed on the server.
Step 1: try to solve the problem: Install
From: http://www.cnblogs.com/Mainz/archive/2009/11/11/microsoft_office_interop_excel.html
Operation background: Asp.net Excel operation
Problems: Add reference locally (COM): Microsoft Office 11.0 Object Library, write the program, debug it properly, and deploy itServerThe Excel. application is not an object.
Initial Diagnosis: The Office and Excel components ar
I had a headache when I encountered this problem. I found a lot of methods on the Chinese and English websites. I tried it and understood it slowly. Finally, I solved it through the following methods:
From:Http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/Download sqlite-1.0.66-source.zip. The latest version may be updated later.
Then, set SQLite. interop.066.
In many projects, we use the Excel export function. Usually InterOP. Excel DLL is used.If you use an Object Browser to view it, you will see a lot of object attribute methods, but these are not instructions, and rarely understand what it means literally, especially for people with poor English. What's more inconvenient
Error: failed to Load file or assembly Microsoft. Office. InterOP. Excel, version = 14.0.0.0, culture = neutral, publickeytoken = 71e9bce111e9429c "or one of its dependencies. The program list definition found does not match the Assembly reference. Exception from hresult: 0x80131040
Win7 environment. Windows XP with 2003 Excel files exported successfully
You ha
resolved for the following reasons:
"Excel 2003" is installed in the system, but it is not installed in GAC. (For details about GAC Global Assembly Cache, refer to the msdn help .) There may be two possible causes: one is that the installation is performed in the office.. NET Framework is installed before, and the other is missing the ".. Net programmable support ". In step 2, we will install Office 5th PIA (Master
When exporting the datagridview in winform, write the following statement:Microsoft. Office. InterOP. Excel. Application xlapp = new Microsoft. Office. InterOP. Excel. applicationclass ();
The result is as follows:
Type: Microsoft. Office. InterOP.
When creating a website project, you often need to convert the table into an Excel file for users to download. There are many implementation methods. For example:
(1) serialize datatable to text directly in XML format
(2) convert datatable to HTML table format
(3) convert datatable to excel XML format
(4) use Microsoft. Office.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.